const { BusiError, SysError } = require('../exception/exception');
const schedule = require("node-schedule");
const config = require("../config/config");
const payRechargeQueryJob = require('./PayRechargeQueryJob');
const withdrawCashQueryJob = require('./WithdrawCashQueryJob');

class Schedule {
    constructor() {
       // schedule.scheduleJob("pay_recharge", config.conf["schedule.payRechargeQuery"], payRechargeQueryJob.query);
        //schedule.scheduleJob("withdraw_cash", config.conf["schedule.withdrawQuery"], withdrawCashQueryJob.query);
    }
}


let sch = new Schedule();
module.exports = sch;